package org.example.lotterysystem.common.errorcode;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2025-03-28  10:24
 */
@Data
public class ErrorCode {
    private final Integer code;
    private final String message;

    public ErrorCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
